import dataset
import pandas
import pickle
import time
a=time.time()
with open("tmp", 'wb') as f:
    f.write(pickle.dumps(dataset.rand_data))
print(time.time()-a)
a=time.time()
b=pandas.DataFrame(dataset.rand_data)
b.to_excel('excel1.xlsx', sheet_name='Sheet1', index=False)
print(time.time()-a)